package com.jqh.openglesdemo;

import android.content.Context;
import android.util.AttributeSet;

import com.jqh.openglesdemo.jqhopengl.GLSurfaceView;

public class JqhSurfaceView extends GLSurfaceView {

    public JqhSurfaceView(Context context) {
        this(context, null);
    }

    public JqhSurfaceView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public JqhSurfaceView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        setRender(new JqhRender());

        setRenderMode(RENDERMODE_WHEN_DIRTY);
    }
}
